<%@ page import="java.util.*" %>  
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<jsp:useBean id="simulatorBean" class="beans.TempSimulaorBean" scope="session"/>
<jsp:setProperty name="simulatorBean" property="*"/> 
<HTML>
<head>
<meta http-equiv="refresh" content="6"> 
</head>
<BODY>
You entered<BR>

<%

List<String> items= simulatorBean.generateTemp();
for(String s: items){
	%>
	example: <%=s%>
	<%
}
%>
<br>

TEST:  
<%

List<String> items2= simulatorBean.generateTemp2();
for(String s2: items2){
	%>
	example2: <%=s2%>
	<%
}
%>

<br>

Current events

<br>

<%
List<EventPackage.Event> events= simulatorBean.getCurrentEvents(); // new ArrayList<EventPackage.Event>();

for(EventPackage.Event e: events){
	%>
	current event: <%=e.GetMessage()%>
	<%
}
%>

<%=events.size()%>

<br>

</BODY>
</HTML>